import { MenuItemType } from "@/api/menu/types";
/**
 * 角色分页列表返回数据类型
 */
export interface RoleItemType {
  id: number | null;
  createTime?: string;
  updateTime?: string;
  isDeleted?: 0 | 1;
  param?: {};
  roleName: string;
}
export type RoleListType = RoleItemType[];

export interface RoleResponseType {
  records: RoleListType;
  total: number;
  size: number;
  current: number;
  // orders: [];
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
}

/**
 * 获取角色管理类型
 */

export type RoleMenuListType = MenuItemType[];
